package com.atguigu.java21_1_20;

public class CircleTest {

	public static void main(String[] args) {
		Circle c1 = new Circle(3.2, "red", 2.0);
		Circle c2 = new Circle(3.3, "red", 2.0);

		System.out.println(c1.getColor().equals(c2.getColor()));// true

		System.out.println(c1.equals(c2));// false
		System.out.println(c1);
		System.out.println(c2);
	}
}
